Crate kvarn_testing
source · [−]Expand description
Helpers for integration-testing Kvarn.
Here, you can easily spin up a new server on a random non-used port and send a request to it in under 5 lines.
Modules
The testing prelude.
Also imports kvarn::prelude::*
.
Structs
A port returned by ServerBuilder::run
to connect to.
A builder struct for starting a test Server
.